<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        /* 
             some:只要有一个true，则返回true。
             some：一真即真
             every：一假即假
             every：必须所有返回的为true才返回true，
        */

        var arr = [1, 3, 5, 17, 9, 10];
        let result = arr.every((value, index, array) => {
            console.log(value);
            if (value < 10) {
                return true;
            }
        });
        console.log(result);


    </script>
</body>
</html>